Method and apparatus for performing parallel synthesis on a field programmable gate array

ABSTRACT

A method for designing a system to be implemented on a target device includes performing a first synthesis run on an entire design of a system with a first setting to generate a first cell netlist for the entire design of the system. A second synthesis run is performed on the entire design for the system with a second setting and is performed in parallel with the first synthesis procedure to generate a second cell netlist for the entire design of the system. A merged cell netlist is generated that includes a first section of logic from the first netlist and a second section of logic from the second cell netlist.

TECHNICAL FIELD

Embodiments of the present invention relate to tools such as electronicdesign automation (EDA) tools for designing systems on target devicessuch as field programmable gate arrays (FPGAs). More specifically,embodiments of the present invention relate to a method and apparatusfor performing parallel synthesis on a design for a system.

BACKGROUND

Logic devices such as FPGAs are used to implement large systems that mayinclude million of gates and megabits of embedded memory. The complexityof large systems often requires the use of EDA tools to create andoptimize a design for the system onto physical target devices. Among theprocedures performed by EDA tools in a computer aided design (CAD) floware synthesis, placement, and routing.

During synthesis, a designer inputs a description of the system into theEDA tool. The EDA tool may perform synthesis procedures such asextraction, logic minimization, and technology mapping on thedescription of the system and produce a cell netlist. The EDA tool maybe configured with various settings for the extraction, logicminimization, and technology mapping procedures. For example, for logicminimization, a designer may select a setting that directs the EDA toolto choose one of many state machine encoding methods. For technologymapping, a designer may select a setting that directs the EDA tool tohonor or to ignore classes of user buffers. These selections may affectthe area and speed of portions of the system. An EDA tool may havethousands of such settings that may be programmed by a designer.

Typically, certain portions of a system may work better with certain EDAtool settings than with others. When programmed, settings are applied tothe entire design and the benefits of a selected setting is often notknown until after synthesis is performed on the system.

SUMMARY

According to an embodiment of the present invention, observer logic isinserted onto a design for a system. The observer logic may identifysections of logic and operate to provide a bounded region for logic. Aplurality of synthesis runs are executed on the identical design of thesystem having observer logic at the same locations. The synthesis runsmay be performed in parallel on separate processors, processor cores,and/or computer systems. The cell netlist generated from the synthesisruns are analyzed to determine the quality of each section of logicassociated with an observer logic. The quality of a section of logic maybe based on its required size, speed for signal propagation, utilizationof wire resources, and/or other criteria. A merged cell netlist may becreated by combining the sections of logic associated with observerlogic having the best quality. One or more observer logic may be used toidentify functionally equivalent sections of logic among cell netlists.

BRIEF DESCRIPTION OF THE DRAWINGS

The features and advantages of the present invention are illustrated byway of example and are by no means intended to limit the scope of thepresent invention to the particular embodiments shown.

FIG. 1 is a flow chart illustrating a method for designing a system ontarget devices according to an exemplary embodiment of the presentinvention.

FIG. 2 is a flow chart illustrating a method for performing synthesisand generating a merged cell netlist according to an exemplaryembodiment of the present invention.

FIG. 3 is a flow chart illustrating a method for performing observerlogic insertion according to an exemplary embodiment of the presentinvention.

FIG. 4 is a flow chart illustrating a method for analyzing a section oflogic according to an exemplary embodiment of the present invention.

FIG. 5 is a flow chart illustrating a method for generating a mergedcell netlist according to an exemplary embodiment of the presentinvention.

FIG. 6 is a block diagram illustrating a plurality or computer systemsperforming parallel synthesis according to an example embodiment of thepresent invention.

FIGS. 7 a-7 c illustrate an example of how a merged cell netlist isgenerated according to a first embodiment of the present invention.

FIGS. 8 a-8 c illustrate an example of synthesis results according to anembodiment of the present invention.

FIGS. 9 a-9 c illustrate an example of analysis performed on a firstsection of logic according to an embodiment of the present invention.

FIGS. 10 a-10 c illustrate an example of analysis performed on a secondsection of logic according to an embodiment of the present invention.

FIG. 11 illustrates a computer system for implementing a system designeraccording to an example embodiment of the present invention.

FIG. 12 illustrates a system designer according to an exemplaryembodiment of the present invention.

FIG. 13 illustrates an exemplary target device according to an exemplaryembodiment of the present invention.

FIG. 14 illustrates a synthesis unit according to an exemplaryembodiment of the present invention.

DETAILED DESCRIPTION

In the following description, for purposes of explanation, specificnomenclature is set forth to provide a thorough understanding ofembodiments of the present invention. It will be apparent to one skilledin the art that specific details in the description may not be requiredto practice the embodiments of the present invention. In otherinstances, well-known circuits, devices, and programs are shown in blockdiagram form to avoid obscuring embodiments of the present inventionunnecessarily.

FIG. 1 is a flow chart illustrating a method for designing a system on atarget device according to an embodiment of the present invention. Theprocedure shown in FIG. 1 may be performed by an EDA tool such as asystem designer implemented on a computer system. At 101, synthesis isperformed on a design of a system. According to an embodiment of thepresent invention, synthesis generates an optimized logicalrepresentation of the system from a HDL design definition. The optimizedlogical representation of the system may include a representation thathas a minimized number of functional blocks such as logic gates, logicelements, and registers required for the system. Technology mapping isalso performed on the optimized logic design. Technology mappingincludes determining how to implement logic gates and logic elements inthe optimized logic representation with resources available on thetarget device. The resources available on the target device may bereferred to as “cells” or “components” and may include logic-arrayblocks, registers, memories, digital signal processing blocks, inputoutput elements, and other components. According to an embodiment of thepresent invention, an optimized technology-mapped netlist (cell netlist)is generated from the HDL.

According to an embodiment of the present invention, a plurality ofsynthesis runs may be performed on the design of the system. Thesynthesis runs may be performed in parallel using a plurality ofprocessors, processor cores, or computer systems, or the synthesis runsmay be performed serially. In this embodiment, observer logic may beinserted at the initial stage of synthesis to mark and identify sectionsof logic and operate to provide a bounded region for the logic. Theobserver logic may be used to identify functionally equivalent sectionsof logic among cell netlists generated by the plurality of synthesisruns. Different settings may be programmed for the synthesis proceduresin each synthesis run in order to generate unique cell netlists.

At 102, a merged cell netlist is generated. According to an embodimentof the present invention, the sections of logic associated with theobserver logic of each of the plurality of cell netlists may be analyzedand compared with similar or functionally equivalent sections of logicfrom other synthesis runs. The sections of logic with the best qualityare identified and selected to be included in a merged cell netlist.

At 103, the mapped logical system design is placed. Placement works onthe optimized technology-mapped netlist to produce a placement for eachof the functional blocks. According to an embodiment of the presentinvention, placement includes fitting the system on the target device bydetermining which resources available on the target device are to beused for specific function blocks in the optimized technology-mappednetlist. According to an embodiment of the present invention, placementmay include clustering which involves grouping logic elements togetherto form the logic clusters present on the target device.

At 104, it is determined which routing resources should be used toconnect the components in the target device implementing the functionalblocks of the system. During routing, routing resources on the targetdevice are allocated to provide interconnections between logic gates,logic elements, and other components on the target device. The routingprocedure may be performed by a router in an EDA tool that utilizesrouting algorithms.

At 105, an assembly procedure is performed. The assembly procedureinvolves creating a data file that includes some of the informationdetermined by the procedure described by 101-104. The data file may be abit stream that may be used to program the target device. According toan embodiment of the present invention, the procedures illustrated inFIG. 1 may be performed by an EDA tool executed on a first computersystem. The data file generated may be transmitted to a second computersystem to allow the design of the system to be further processed.Alternatively, the data file may be transmitted to a second computersystem which may be used to program the target device according to thesystem design. It should be appreciated that the design of the systemmay also be output in other forms such as on a display device or othermedium.

FIG. 2 is a flow chart illustrating a method for performing synthesisand generating a merged cell netlist according to an exemplaryembodiment of the present invention. The procedure illustrated in FIG. 2may be used to implement procedures 101 and 102 illustrated in FIG. 1.At 201 observer logic is inserted into a design for a system. Accordingto an embodiment of the present invention, the observer logic may beimplemented using special logic gates which remain undisturbed duringsynthesis. The observer logic operates to mark and identify sections oflogic. The logic feeding the observer logic may be minimized,refactored, and/or transformed, however the logic will exhibit the samebehavior. The observer logic may function as an output pins to provideinformation about signals at a section of logic. The observer logic mayalso be numbered for identification. According to an embodiment of thepresent invention, the observer logic may be implemented as a bufferwhich is a binary record. The observer does not imply any spacerequirement on the target device.

At 202, settings for synthesis procedures may be programmed. For thelogic minimization procedure, a number of settings may be programmed.For example, the manner in which state machine encoding is performed maybe selected, how stuck and duplicate registers are handled, as well aswhether register retiming is to be performed may be programmed. For thetechnology mapping procedure, other settings may be programmed. Forexample, the classes of user buffers may be set to be honored orignored, cost functions for lookup table mapping may be set to emphasizea desired result such as speed or area, and conditions may be set toutilize certain “expensive” resources on the device. It should beappreciated that other settings may be programmed for these and otherprocedures in synthesis.

At 203, extraction is performed on the design for the system. Accordingto an embodiment of the present invention, extraction involvestranslating a description of the design of the system into a netlist oflogic. The translation may be performed on a Verilog or very-high-speedintegrated circuit (VHSIC) hardware description language (VHDL) filethat includes text. The netlist of logic may include a description ofcomponents such as logic gates that may be used to implement the designfor the system.

At 204, logic minimization is performed. According to an embodiment ofthe present invention, logic minimization may involve transforming thenetlist of logic into a less complex gate level implementation. Theminimized design may include a fewer number of gate inputs, gates,and/or level of logic gates, logic elements, and registers.

At 205, technology mapping is performed. According to an embodiment ofthe present invention, technology mapping includes determining how toimplement logic gates and logic elements in the optimized logicrepresentation with resources available on the target device. Theresources available on the target device may be referred to as “cells”or “components” and may include logic-array blocks, registers, memories,digital signal processing blocks, input output elements, and othercomponents. According to an embodiment of the present invention, anoptimized technology-mapped netlist (cell netlist) is generated.

It should be appreciated that procedures 201-205 may be performed aplurality of times by one or more processors, processor cores, and/orcomputer systems to execute multiple runs of synthesis on a same designof a system. Each synthesis run may involve programming settingsdifferently in order to generate a unique cell netlist.

At 206, the cell netlists generated at 205 is analyzed. According to anembodiment of the present invention, the sections of logic associatedwith the observer logic of each of the plurality of cell netlists may beanalyzed and assigned a quality factor. The quality factor may begenerated based upon a size of a section of logic, the speed in whichsignals are propagated through the section of logic, the amount of wirerequired for implementing the section of logic, and/or other criteria.

At 207, a merged cell netlist is generated. According to an embodimentof the present invention, sections of logic in the design for the systemare compared with similar sections of logic from other synthesis runs.The sections of logic with the best quality are identified and selectedto be included in a merged cell netlist.

FIG. 3 is a flow chart illustrating a method for performing observerlogic insertion according to an exemplary embodiment of the presentinvention. The procedure illustrated in FIG. 3 may be used to implementprocedure 201 illustrated in FIG. 2. At 301, it is determined whether anext wire exists in the design of the system that has not beenpreviously examined. If it is determined that a next wire exists in thedesign of the system that has not been previously examined, controlproceeds to 302. If it is determined that all wires have been examined,control proceeds to 305.

At 302, a next wire to be examined is selected.

At 303, it is determined whether the wire is likely to be present in afinal cell netlist. According to an embodiment of the present invention,a wire may be likely to be present in a final cell netlist if the wireis coupled to an output of a register, memory, multiplier, or other hardblock. If it is determined that the wire is likely to be present in afinal cell netlist, control proceeds to 304. If it is determined thatthe wire is not likely to be present in a final cell netlist, controlreturns to 301.

At 304, an observer logic is added to the wire.

At 305, it is determined whether a next observer logic exists that hasnot previously been examined. If a next observer logic exists that hasnot previously been examined, control proceeds to 306. If a nextobserver logic does not exist, control proceeds to 309.

At 306, the next observer logic is selected.

At 307, it is determined whether the observer logic selected is within afirst predetermined distance of another observer logic. If it isdetermined that the observer logic is within the first predetermineddistance of an other observer logic, the observer logic is determined tobe too close and control proceeds to 308. If it is determined that theobserver logic is not within the predetermined distance of the otherobject, control returns to 305.

At 308, the other observer logic is removed.

At 309, control terminates the process.

According to an embodiment of the present invention, an observer logicmay be examined to determine a distance of a next observer logic. If thenext observer logic exceeds a second predetermined distance, anadditional observer logic may be added at the midpoint between theobserver logic and the next observer logic.

FIG. 4 is a flow chart illustrating a method for analyzing a section oflogic according to an exemplary embodiment of the present invention. Theprocedure illustrated at FIG. 4 may be used to implement procedure 206illustrated in FIG. 2. At 401, it is determined whether another sectionof logic associated an observer logic exists that has not yet beenevaluated. If another section of logic associated with an observationpoint exists that has not yet been evaluated, control proceeds to 402.If all sections of logic associated with an observer logic has beenevaluated, control proceeds to 406.

At 402, the area corresponding to the section of logic is evaluated.According to an embodiment of the present invention, a number ofresources required to implement the section of logic is determined.

At 403, the speed of a signal propagating through the section of logicis evaluated. According to an embodiment of the present invention, themaximum or average delay through the section of logic is determined.

At 404, an amount of wire required to implement the section of logic isevaluated. According to an embodiment of present invention, the wire usemay be used to estimate the power consumption of the section of logic.

At 405, a quality factor is assigned to the section of logic. Accordingto an embodiment of the present invention, the quality factor may be afunction of the characteristics of the logic section as determined inprocedures 402-404. It should be appreciated that a designer mayprioritize and weight the characteristics of sections of logic so that aquality factor is generated that is indicative of the designer'spreferred. It should be further appreciated that other characteristicsof the logic section may be evaluated and used to determine its qualityfactor. For example, the level of observability of a debug signal, therouting topology, or other characteristic may also be evaluated. Controlreturns to 401.

At 406, control terminates the procedure.

FIG. 5 is a flow chart illustrating a method for generating a mergedcell netlist according to an exemplary embodiment of the presentinvention. The procedure illustrated in FIG. 5 may be used to implementprocedure 207 illustrated in FIG. 2. At 501, it is determined whether anext observer logic exists in a working netlist that has not beenevaluated. According to an embodiment of the present invention, theworking netlist may be one of the cell netlists generated fromperforming synthesis on a design of a system. If a next observer logicexists that has not been evaluated, control proceeds to 502. If allobserver logic have been evaluated, control proceeds to 510.

At 502, logic feeding the observer logic is identified.

At 503, it is determined whether the logic identified at 502 also feedsother observer logic. If the identified logic also feeds other observerlogic, control proceeds to 504. If the identified logic does not feedother observer logic, control proceeds to 505.

At 504, the other observer logic identified at 502 is added to a list ofobserver logic for evaluation.

At 505, the observer logic to be evaluated are identified in candidatenetlists. According to an embodiment of the present invention, thecandidate netlists may include other cell netlists generated fromsynthesis runs of the same initial design of the system. In oneembodiment, the observer logic may be identified by their correspondingserial numbers.

At 506, logic feeding the observation logic under evaluation areidentified in the working netlist and the candidate netlists.

At 507, the quality factor of the logic identified in the workingnetlist and the candidate netlists are identified.

At 508, it is determined whether logic from one of the candidatenetlists has a higher quality factor than the logic from the workingnetlist. If more than one quality factors are included in the logic,control may sum or average the quality factors and compare the summed oraveraged values. If more than one logic from the candidate netlists havea higher quality factor that the logic from the working netlist, thelogic with the highest quality factor is identified. If logic from onecandidate netlist has a higher quality factor than the logic from theworking netlist, control proceeds to 509. If logic from the workingnetlist has the highest quality factor, control returns to 501.

At 509, the logic in the working netlist is replaced with logic from thecandidate netlist having a higher quality factor. Control returns to501.

At 510, control terminates the procedure.

FIG. 6 is a block diagram illustrating a network of computer systems601-603 performing parallel synthesis according to an example embodimentof the present invention. The network of computer systems includes afirst computer system 601, a second computer system 602, and an nthcomputer system 603, where n may be any number. Each of the computersystems may include an EDA tool that may be used to perform synthesis.According to one embodiment, the computer systems run the same EDA CADsoftware, but have different settings programmed for synthesis. Asshown, each of the computer systems 600 receives a copy an identicalcopy of a design of a system 610.

The computer systems 601-603 add observer logic 611-613, respectively,to the design of the system. The observer logic is inserted at the samelocation in the design of the system by each of the computer systems601-603.

As synthesis is performed by each computer system 601-603, the differentsettings programmed cause a different cell netlist 621-623 to begenerated by each of the computer system 601-603. The different settingscause a divergence in the circuit structure of the system. This mayaffect aspects of quality.

In the embodiment of the present invention shown, all but one of thecomputer systems transmit the cell netlist generated to disk andterminate the synthesis procedure. The remaining computer system(computer system 603) retrieves the cell netlists from the othercomputer systems and uses the observer logic to select sections of logicwith the best quality to form a merged cell netlist 630 that is a hybridof all the cell netlists. According to the embodiment shown, computersystem 603 analyzes the quality of the cell netlists generated by all ofthe computer systems 601-603 and generates a quality factor for sectionsof logic in each of the cell netlists. Alternatively, it should beappreciated that the computer system where a cell netlist originatesfrom may perform the analysis and generate quality factors for sectionsof logic in its own netlist before transmitting the cell netlist todisk.

As shown in FIG. 6, computer system 601 executes a first synthesis runon the design for the system 600, computer system 602 executes a secondsynthesis run on the design of the system 600, and computer system 603executes an nth synthesis run on the design of the system 600. It shouldbe appreciated that instead of having separate computer systems 601execute separate synthesis runs that separate processors or processorcores may be executing the synthesis runs. The synthesis runs areillustrated in FIG. 6 to be run in parallel. It should be appreciatedthat the synthesis runs may be run in parallel, in series, or acombination of the two. It should be further appreciated that otherforms of memory or network based communication could be used to sharecell netlists in addition to disk storage.

FIGS. 7 a-7 c illustrate an example of how a merged cell netlist isgenerated by considering logic directly associated with an observerlogic according to an embodiment of the present invention. FIG. 7 aillustrates a first circuit 700 resulting from a first synthesis run. Asshown, observer logic 1-5 have been inserted into the design of thesystem. Blocks 701-704 represent resources on a target device (cells)that may be used to implement the design of the system as determined bythe first synthesis run.

FIG. 7 b illustrates a second circuit resulting from a second synthesisrun. As shown, observer logic 1-5 have been inserted into the design ofthe system. Blocks 711-714 represent resources on a target device(cells) that may be used to implement the design of the system asdetermined by the second synthesis run. The first and second circuits700 and 710 are functionality equivalent, but are structurallydifferent. The observer logic 1-4 allows us to assert where pointswithin the circuits are functionally equivalent. As shown, blocks 701and 711 are both functionally and structurally equivalent, and blocks702 and 712 are both functionally and structurally equivalent. Blocks704 and 714 are functionally equivalent, but structurally different.Blocks 703 and 713 are functionally equivalent, but structurallydifferent.

If it is determined that among the inputs to observer logic 3, block 704has a higher quality factor than 714, then block 704 may be selected forthe merged cell netlist. If it is determined that among the inputs toobserver 5, that block 713 has a higher quality factor than 703, thenblock 713 may be selected for the merged cell netlist. FIG. 7 cillustrates a third circuit 720 resulting from merging the cell netlistof the first circuit 700 of FIG. 7 a and the second circuit 71 of FIG. 7b. The third circuit 720 includes block 721 which is structurallyequivalent to block 701 and 711, and block 722 which is structurallyequivalent to block 702 and 712. Block 723 is structurally equivalent toblock 713 and 724 is structurally equivalent to block 704.

In some instances, it may be beneficial to evaluate the inputs tomultiple observer logic together. For example, if logic feeding a firstobserver logic also feeds a second observer logic, it may also bebeneficial to evaluate any additional logic feeding the second observerlogic together with the logic feeding the first observer. FIGS. 8 a-8 cillustrate examples of functionally equivalent synthesis resultsaccording to an embodiment of the present invention. FIG. 8 aillustrates a first circuit 800 generated from a first synthesis run.FIG. 8 b illustrates a second circuit 810 generated from a secondsynthesis run. FIG. 8 c illustrates a third circuit 820 generated from athird synthesis run. Circuits 800, 810, and 830 are functionallyequivalent and each include observer logic a-e which identifyfunctionally equivalent sections in the circuit.

FIGS. 9 a-9 c, and 10 a-10 c illustrate an example of how functionallyequivalent synthesis results may be analyzed according to an embodimentof the present invention. In this example, the size for implementingcircuits 800, 810, and 820 is analyzed by identifying a number ofcomponents required to implement logic feeding an observer logic. FIG. 9a illustrates that three components (nodes) feed observer logic e incircuits 800. FIG. 9 b illustrates that two components feed observerlogic e in circuit 810. FIG. 9 c illustrates that three components feedobserver logic e in circuit 820. FIG. 10 a illustrates that twocomponents (nodes) feed observer logic d in circuit 800. FIG. 10 billustrates that four components feed observer logic d in circuit 810.FIG. 10 c illustrates that two components feed observer logic d incircuit 820.

When considering the output independently, it would appear that withrespect to area, circuit 810 implements a section of logic that feedsobserver e that has the highest quality factor and that circuit 800implements a section of logic that feeds observer d that has the highestquality factor. If both these solutions were included in a mergednetlist, a total of 4 components (nodes) would be implemented. However,note that circuit 800 itself includes a total area of only 3 nodes whichis less than the 4 nodes implemented in the merged netlist despitehaving a higher cost when inputs to observer e was analyzed with respectto FIG. 9 a. This illustrates an example where a locally optimizedsolution is not optimal when viewed together with other solutions. Thegreedy local solution misses the global optimization. In order to reducethis outcome, logic feeding observers d and e may be consideredsimultaneously. Observer d and e are good candidates to analyze togetherbecause they are fed by common observers on the input size (observers a,b, and c), and share common logic in one or more implementations.

FIG. 11 is a block diagram of an exemplary computer system 1100 in whichan example embodiment of the present invention resides. The computersystem 1100 includes one or more processors that process data signals.As shown, the computer system 1100 includes a first processor 1101 andan nth processor 1105, where n may be any number. The processors 1101and 1105 may be multi-core processors with multiple processor cores oneach chip. The processors 1101 and 1105 are coupled to a CPU bus 1110that transmits data signals between processors 1101 and 1105 and othercomponents in the computer system 1100.

The computer system 1100 includes a memory 1113. The memory 1113 maystore instructions and code represented by data signals that may beexecuted by the processor 1101. A bridge memory controller 1111 iscoupled to the CPU bus 1110 and the memory 1113. The bridge memorycontroller 1111 directs data signals between the processor 1101, thememory 1113, and other components in the computer system 1100 andbridges the data signals between the CPU bus 1110, the memory 1113, anda first IO bus 1120.

The first IO bus 1120 may be a single bus or a combination of multiplebuses. The first IO bus 1120 provides communication links betweencomponents in the computer system 1100. A network controller 1121 iscoupled to the first IO bus 1120. The network controller 1121 may linkthe computer system 1100 to a network of computers (not shown) andsupports communication among the machines. A display device controller1122 is coupled to the first IO bus 1120. The display device controller1122 allows coupling of a display device (not shown) to the computersystem 1100 and acts as an interface between the display device and thecomputer system 1100.

A second IO bus 1130 may be a single bus or a combination of multiplebuses. The second IO bus 1130 provides communication links betweencomponents in the computer system 1100. A data storage device 1131 iscoupled to the second IO bus 1130. An input interface 1132 is coupled tothe second IO bus 1130. The input interface 1132 allows coupling of aninput device to the computer system 1100 and transmits data signals froman input device to the computer system 1100. A bus bridge 1123 couplesthe first IO bus 1120 to the second IO bus 1130. The bus bridge 1123operates to buffer and bridge data signals between the first IO bus 1120and the second IO bus 1130. It should be appreciated that computersystems having a different architecture may also be used to implementthe computer system 1100.

A system designer 1140 may reside in memory 1113 and be executed by oneor more of the processors 1101 and 1105. The system designer 1140 mayoperate to synthesize a system, place the system on a target device, androuting the system, where a plurality of synthesis runs may be performedon the design of the system where different settings are programmed ineach of the synthesis runs. The synthesis runs may be performed usingthe processors 1101 and 1105, other processors, processor cores, orcomputer systems. In this embodiment, observer logic may be inserted atthe initial stage of synthesis to mark and identify sections of logicand operate to provide a bounded region for the logic. Differentsettings may be programmed for the synthesis procedures in eachsynthesis run in order to generate unique cell netlists. The results inthe unique cell netlists may be utilized to generate a merged cellnetlist.

FIG. 12 illustrates a system designer 1200 according to an embodiment ofthe present invention. The system designer 1200 may be an EDA tool fordesigning a system on a target device such as an FPGA or othercircuitry. FIG. 12 illustrates modules implementing an embodiment of thesystem designer 1200. According to one embodiment, the modules representsoftware modules and system design may be performed by a computer systemsuch as the one illustrated in FIG. 11 executing sequences ofinstructions represented by the modules shown in FIG. 12. Execution ofthe sequences of instructions causes the computer system to supportsystem design as will be described hereafter. In alternate embodiments,hard-wire circuitry may be used in place of or in combination withsoftware instructions to implement embodiments of present invention.Thus, embodiments of present invention are not limited to any specificcombination of hardware circuitry and software. The system designer 1200includes a designer manager 1210. The designer manager 1210 is connectedto and transmits data between the components of the system designer1200.

The system designer 1200 includes a synthesis unit 1220. The synthesisunit 1220 generates a cell netlist from a design of a system to beimplemented on the target device. According to an embodiment of thesystem designer 1200, the synthesis unit 1220 takes a conceptual HDLdesign definition and generates an optimized logical representation ofthe system. The optimized logical representation of the system generatedby the synthesis unit 1220 may include a representation that has aminimized number of functional blocks and registers, such as logic gatesand logic elements, required for the system. Alternatively, theoptimized logical representation of the system generated by thesynthesis unit 1220 may include a representation that has a reduceddepth of logic and that generates a lower signal propagation delay. Thesynthesis unit 1220 also determines how to implement the functionalblocks and registers in the optimized logic representation utilizingresources such as cells on a target. The technology-mapped netlistillustrates how the resources (cells) on the target device are utilizedto implement the system. In an embodiment where the target device is anFPGA or PLD, the technology-mapped netlist may include cells such asLABs, registers, memory blocks, DSP blocks, IO elements or othercomponents.

According to an embodiment of the present invention, a plurality ofsynthesis runs may be performed on the design of the system. Thesynthesis runs may be performed in parallel or serially. In thisembodiment, the synthesis unit 1220 inserts observer logic at theinitial stage of synthesis to mark and identify sections of logic andoperate to provide a bounded region for the logic. Different settingsmay be programmed for the synthesis procedures in each synthesis run inorder to generate unique cell netlists. The sections of logic associatedwith the observer logic of each of the plurality of cell netlists may beanalyzed and compared with similar sections of logic from othersynthesis runs. The synthesis unit 1220 identifies sections of logicwith the best quality and selects these sections of logic to be includedin a merged cell netlist.

The system designer 1200 includes a placement unit 1230 that performsplacement. The placement unit 260 processes the merged cell netlist toproduce a placement for each of the cells in the merged cell netlist.

The system designer 1200 includes a routing unit 1240 that performsrouting. The routing unit 1240 determines the routing resources on thetarget device to use to provide interconnection between the componentsimplementing functional blocks and registers of the logic design.

The system designer 1200 includes an assembly unit 1250 that performs anassembly procedure that creates a data file that includes the design ofthe system generated by the system designer 1200. The data file may be abit stream that may be used to program the target device. The assemblyunit 1250 may output the data file so that the data file may be storedor alternatively transmitted to a separate machine used to program thetarget device. It should be appreciated that the assembly unit 1250 mayalso output the design of the system in other forms such as on a displaydevice or other medium.

FIG. 12 illustrates an exemplary block diagram of a system designer1200. It should be appreciated that addition components may beimplemented on the system designer 1200, that not all of the componentsillustrated are necessary to implement the system designer 1200, andthat the illustrated components may be substituted with othercomponents.

FIG. 13 illustrates an exemplary target device 1300 in which a systemmay be implemented on 1300 utilizing an FPGA according to an embodimentof the present invention. According to one embodiment, the target device1300 is a chip having a hierarchical structure that may take advantageof wiring locality properties of circuits formed therein.

The target device 1300 includes a plurality of logic-array blocks(LABs). Each LAB may be formed from a plurality of logic blocks, carrychains, LAB control signals, look up table (LUT) chain, and registerchain connection lines. A logic block is a small unit of logic providingefficient implementation of user logic functions. A logic block includesone or more combinational cells, where each combinational cell has asingle output, and registers. According to one embodiment of the presentinvention, the logic block may operate similarly to a logic element(LE), such as those found in Stratix™ manufactured by Altera®Corporation, or a combinational logic block (CLB) such as those found inVirtex™ manufactured by Xilinx® Inc. In this embodiment, the logic blockmay include a four input lookup table (LUT) with a configurableregister. According to an alternate embodiment of the present invention,the logic block may operate similarly to an adaptive logic module (ALM),such as those found in Stratix™ II manufactured by Altera® Corporation.LABs are grouped into rows and columns across the target device 1300.Columns of LABs are shown as 1311-1316. It should be appreciated thatthe logic block may include additional or alternate components.

The target device 1300 includes memory blocks. The memory blocks may be,for example, dual port random access memory (RAM) blocks that providededicated true dual-port, simple dual-port, or single port memory up tovarious bits wide at up to various frequencies. The memory blocks may begrouped into columns across the target device in between selected LABsor located individually or in pairs within the target device 300.Columns of memory blocks are shown as 1321-1324.

The target device 1300 includes digital signal processing (DSP) blocks.The DSP blocks may be used to implement multipliers of variousconfigurations with add or subtract features. The DSP blocks includeshift registers, multipliers, adders, and accumulators. The DSP blocksmay be grouped into columns across the target device 1300 and are shownas 1331.

The target device 300 includes a plurality of input/output elements(IOEs) 1340. Each IOE feeds an I/O pin (not shown) on the target device1300. The IOEs are located at the end of LAB rows and columns around theperiphery of the target device 1300. Each IOE includes a bidirectionalI/O buffer and a plurality of registers for registering input, output,and output-enable signals. When used with dedicated clocks, theregisters provide performance and interface support with external memorydevices.

The target device 1300 may include routing resources such as LAB localinterconnect lines, row interconnect lines (“H-type wires”), and columninterconnect lines (“V-type wires”) (not shown) to route signals betweencomponents on the target device.

FIG. 13 illustrates an exemplary embodiment of a target device. Itshould be appreciated that a system may include a plurality of targetdevices, such as that illustrated in FIG. 13, cascaded together. Itshould also be appreciated that the target device may includeprogrammable logic devices arranged in a manner different than that onthe target device 1300. A target device may also include FPGA resourcesother than those described in reference to the target device 1300.

FIG. 14 illustrates a synthesis unit 1400 according to an exemplaryembodiment of the present invention. The synthesis unit 1400 illustratedin FIG. 14 may be used to implement the synthesis unit 1220 illustratedin FIG. 12. The synthesis unit 1400 includes a synthesis manager 1400.The synthesis manager 1400 receives information from a designer such assettings to program various procedures performed. The synthesis manageralso operates to transmit information between components in thesynthesis unit 1400.

The synthesis unit 1400 includes an observer logic insertion unit 1420.The observer logic insertion unit 1420 inserts observer logic into adesign for a system. According to an embodiment of the synthesis unit1400, the observer logic may be implemented using special logic gateswhich remain undisturbed during synthesis. The observer logic operatesto mark and identify sections of logic. The observer logic may functionas an output pins to provide information about signals at a section oflogic. According to an embodiment of the present invention, the observerlogic insertion unit 1420 inserts observer logic at outputs ofregisters, memory blocks, multipliers, and other hard blocks. Theobserver logic may also be inserted on high fanout signals and on userhierarchy boundaries. The observer logic insertion unit 1420 mayimplement the procedure illustrated at FIG. 3.

The synthesis unit 1400 includes an extraction unit 1430. According toan embodiment of the synthesis unit 1400, the extraction unit 1430translates a description of the design of the system into a netlist oflogic. The translation may be performed on a Verilog or VHDL file thatincludes text. The netlist of logic may include a description ofcomponents such as logic gates that may be used to implement the designfor the system.

The synthesis unit 1400 includes a logic minimization unit 1440.According to an embodiment of the synthesis unit, the logic minimizationunit 1440 transforms the netlist of logic into a less complex gate levelimplementation. The minimized design may include a fewer number of gateinputs, gates, and/or level of logic gates, logic elements, andregisters.

The synthesis unit 1400 includes a technology mapping unit 1450.According to an embodiment of the synthesis unit 1400, the technologymapping unit 1450 determines how to implement logic gates and logicelements in the optimized logic representation with resources availableon the target device. The resources available on the target device maybe referred to as “cells” or “components” and may include logic-arrayblocks, registers, memories, digital signal processing blocks, inputoutput elements, and other components. The technology mapping unit 1450generates an optimized technology-mapped netlist (cell netlist).

The synthesis unit 1400 includes an analysis unit 1460. According to anembodiment of the synthesis unit 1400, the analysis unit 1460 analyzessections of logic associated with observer logic from a plurality ofcell netlists and assigned a quality factor. The quality factor may begenerated based upon a size of a section of logic, the speed in whichsignals are propagated through the section of logic, the amount of wirerequired for implementing the section of logic, and/or other criteria.

The synthesis unit 1400 includes a design merge unit 1470. According toan embodiment of the synthesis unit 1400, the design merge unit 1470compares sections of logic in the design for the system with similarsections of logic from other synthesis runs. The sections of logic withthe best quality are identified and selected to be included in a mergedcell netlist.

FIGS. 1 through 5 are flow charts illustrating methods according toembodiments of the present invention. The techniques illustrated inthese figures may be performed sequentially, in parallel or in an orderother than that which is described. The techniques may be also beperformed one or more times. It should be appreciated that not all ofthe techniques described are required to be performed, that additionaltechniques may be added, and that some of the illustrated techniques maybe substituted with other techniques.

Embodiments of the present invention may be provided as a computerprogram product, or software, that may include an article of manufactureon a machine accessible or machine readable medium having instructions.The instructions on the machine accessible or machine readable mediummay be used to program a computer system or other electronic device. Themachine-readable medium may include, but is not limited to, floppydiskettes, optical disks, CD-ROMs, and magneto-optical disks or othertype of media/machine-readable medium suitable for storing electronicinstructions. The techniques described herein are not limited to anyparticular software configuration. They may find applicability in anycomputing or processing environment. The terms “machine accessiblemedium” or “machine readable medium” used herein shall include anymedium that is capable of storing, or encoding a sequence ofinstructions for execution by the machine and that cause the machine toperform any one of the methods described herein. Furthermore, it iscommon in the art to speak of software, in one form or another (e.g.,program, procedure, process, application, module, unit, logic, and soon) as taking an action or causing a result. Such expressions are merelya shorthand way of stating that the execution of the software by aprocessing system causes the processor to perform an action to produce aresult.

In the foregoing specification embodiments of the invention has beendescribed with reference to specific exemplary embodiments thereof. Itwill, however, be evident that various modifications and changes may bemade thereto without departing from the broader spirit and scope of theembodiments of the invention. The specification and drawings are,accordingly, to be regarded in an illustrative rather than restrictivesense.

What is claimed is:
 1. A method for designing a system to be implementedon a target device, the method comprising: performing a first synthesisrun on an entire design of a system with a first setting to generate afirst cell netlist for the entire design of the system; performing asecond synthesis run on the entire design of the system with a secondsetting where the second synthesis is performed in parallel with thefirst synthesis to generate a second cell netlist for the entire designof the system; and generating a merged cell netlist that includes afirst section of logic from the first netlist and a second section oflogic from the second cell netlist, wherein at least one of theperformings and generating is conducted using a processor.
 2. The methodof claim 1, wherein the first synthesis run includes logic minimizationand technology mapping.
 3. The method of claim 2, wherein the secondsynthesis run includes logic minimization and technology mapping.
 4. Themethod of claim 1, wherein the first synthesis run comprises insertingobserver logic into the design of the system to identify sections oflogic in the design and to monitor data properties associated with thesections of logic.
 5. The method of claim 4, wherein the observer logicis inserted at outputs of registers.
 6. The method of claim 4, whereinthe observer logic is inserted at outputs of memory blocks.
 7. Themethod of claim 4, wherein the observer logic is inserted at outputs ofmultipliers.
 8. The method of claim 4, wherein the observer logic isinserted on high fanout signals.
 9. The method of claim 4, wherein theobserver logic is inserted on user hierarchy boundaries.
 10. The methodof claim 1, further comprising generating a quality factor for eachsection of logic in the first cell net list and the second cell netlist.11. The method of claim 10, wherein the quality factor may be based on adelay through a section of logic.
 12. The method of claim 10, whereinthe quality factor may be based on a number of resources on the targetdevice used to implement a section of logic.
 13. The method of claim 10,wherein the quality factor may be based on a number of wires use toimplement a section of logic.
 14. The method of claim 10, wherein thefirst section of logic from the first cell netlist and the section oflogic from the second cell netlist are selected for the merged cellnetlist based upon their corresponding quality factors.
 15. The methodof claim 1, wherein the first synthesis run is performed by a firstprocessor and the second synthesis run is performed by a secondprocessor.
 16. The method of claim 1, wherein performing the firstsynthesis run with the first setting includes encoding a state machineusing a first technique and performing the second synthesis run with thesecond setting includes encoding the state machine using a secondtechnique.
 17. The method of claim 1, wherein performing the firstsynthesis run with the first setting includes performing registerretiming and performing the second synthesis run with the second settingincludes performing synthesis without performing register retiming. 18.The method of claim 1, wherein performing the first synthesis run withthe first setting includes honoring classes of user buffers andperforming the second synthesis run with the second setting includesignoring the classes of user buffers.
 19. The method of claim 1, whereinperforming the first synthesis run with the first setting includes usinga first lookup table mapping cost function that emphasizes speed andperforming the second synthesis run with the second setting includesusing a second lookup table mapping cost function that emphasizes area.20. A non-transitory computer readable medium including sequences ofinstructions stored thereon for causing a computer to execute a method,the method comprising: performing a first synthesis run on an entiredesign of a system with a first setting to generate a first cell netlistfor the entire design of the system; performing a second synthesis runon the entire design of the system with a second setting where thesecond synthesis is performed in parallel with the first synthesis togenerate a second cell netlist for the entire design of the system; andgenerating a merged cell netlist that includes a first section of logicfrom the first netlist and a second section of logic from the secondcell netlist, wherein at least one of the performings and generating isconducted using a processor.
 21. The non-transitory computer readablemedium of claim 20, wherein the first synthesis run includes logicminimization and technology mapping.
 22. The non-transitory computerreadable medium of claim 21, wherein the second synthesis run includeslogic minimization and technology mapping.
 23. The non-transitorycomputer readable medium of claim 20, wherein the first synthesis runcomprises inserting observer logic into the design of the system toidentify sections of logic in the design and to monitor data propertiesassociated with the sections of logic.
 24. The non-transitory computerreadable medium of claim 23, wherein the observer logic is inserted atoutputs of registers.
 25. The non-transitory computer readable medium ofclaim 23, wherein the observer logic is inserted at outputs of memoryblocks.
 26. The non-transitory computer readable medium of claim 23,wherein the observer logic is inserted at outputs of multipliers. 27.The non-transitory computer readable medium of claim 20, furthercomprising generating a quality factor for each section of logic in thefirst cell net list and the second cell netlist.
 28. The non-transitorycomputer readable medium of claim 27, wherein the quality factor may bebased on a delay through a section of logic.
 29. The non-transitorycomputer readable medium of claim 27, wherein the quality factor may bebased on a number of resources on the target device used to implement asection of logic.
 30. The non-transitory computer readable medium ofclaim 27, wherein the quality factor may be based on a number of wiresuse to implement a section of logic.
 31. The non-transitory computerreadable medium of claim 27, wherein the first section of logic from thefirst cell netlist and the section of logic from the second cell netlistare selected for the merged cell netlist based upon their correspondingquality factors.
 32. A synthesis unit, comprising: a synthesis manageroperable to perform a first synthesis run on an entire design of asystem with a first setting to generate a first cell netlist for theentire design of the system, and operable to perform a second synthesisrun on the entire design of the system with a second setting where thesecond synthesis is performed in parallel with the first synthesis togenerate a second cell netlist for the entire design of the system; anda design merge unit operable to generate a merged cell netlist thatincludes a first section of logic from the first netlist and a secondsection of logic from the second cell netlist, wherein at least one ofthe synthesis manager and design merge unit is implemented using aprocessor.
 33. The synthesis unit of claim 32, wherein the firstsynthesis run includes logic minimization and technology mapping. 34.The synthesis unit of claim 32, wherein the second synthesis runincludes logic minimization and technology mapping.
 35. The synthesisunit of claim 32, wherein the first synthesis run comprises insertingobserver logic into the design of the system to identify sections oflogic in the design and to monitor data properties associated with thesections of logic.
 36. The synthesis unit of claim 35, wherein theobserver logic is inserted at outputs of registers.
 37. The synthesisunit of claim 35, wherein the observer logic is inserted at outputs ofmemory blocks.